<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib uri="/WEB-INF/vectrics.tld" prefix="vectrics"%>

<head>
<sx:head cache="false" />
<link rel="stylesheet" href="/hrs-intranet/styles/displaytag.css"
	type="text/css" />
<link rel="stylesheet" href="/hrs-intranet/styles/errortag.css"
	type="text/css" />
</head>

<table width="100%">
	<tr>
		<td valign="top"><s:form validate="true" cssClass="formClass">
				<s:if test="hasFieldErrors()">
					<div class="oldErrorMsg">
						<h4 class="oldErrorTitle">Error(s) with submission:</h4>
						<s:iterator value="fieldErrors">
							<s:iterator value="value">
								<li><font class="errorMsgFont"> <s:property /> </font>
								</li>
							</s:iterator>
						</s:iterator>
					</div>
					<br />
					<br />
				</s:if>

				<s:hidden key="personId" />
				<s:hidden key="userId" />
				<%-- 				<s:hidden key="previousNotes" /> --%>

				<s:textfield key="fullName" readonly="true" label="Name"
					required="true" />
				<s:textarea key="hiringNotes" label="Hiring Notes" required="true" cols="50" rows="8"/>

				<s:submit action="EditHiringConditionsAction" method="save" key="OK"
					cssClass="btn" cssStyle="position:relative; left:-95px;"
					id="okbutton" />
				<s:submit action="EditHiringConditionsAction" method="cancel"
					key="Cancel" cssClass="btnCancel"
					cssStyle="position:relative; left:0px; top:-25px; _top:-27" />
			</s:form>
		<td valign="top" align="left">
			<form id="view_person" action="/hrs-intranet/admin/user/view.do"
				method="POST">
				<input type="hidden" name="userId" value="${userId}"> <input
					type="hidden" name="personId" value="${userId}">
				<vectrics:formButton elementId="view.person.btn" code="button.param"
					phraseCode="button.candidate.view.person" value="submit"
					name="submit" />
			</form></td>
	</tr>
</table>
